import {http} from '@/utils/http'

// 添加车库
export function addCarPort(data:any) {
    return http.post<any>('/admin/carPort/addCarPort', data)
}

// 修改车库
export function updateCarPort(data:any) {
    return http.post<any>('/admin/carPort/updateCarPort', data)
}

// 删除车库
export function deleteCarPort(id:string) {
    return http.post<any>('/admin/carPort/deleteCarPort/'+id)
}

// 获取车库详情
export function getCarPort(id:any) {
    return http.post<any>('/admin/carPort/getCarPort/'+id)
}

// 获取车库分页列表
export function getCarPortPage(data:any) {
    return http.post<any>('/admin/carPort/getCarPortPage', data)
}





















